﻿using SqlSugar;
using System;

namespace NP.BPMReportPlatform.Entities.NIP_Wechat
{
    /// <summary>
    /// 流程实例表
    /// </summary>
    public class WechatFlowInst
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ID { get; set; }

        /// <summary>
        /// 业务系统标识
        /// </summary>
        public string APPID { get; set; }

        /// <summary>
        /// 流程ID
        /// </summary>

        public string ProcessId { get; set; } = string.Empty;

        /// <summary>
        /// 流程名称
        /// </summary>

        public string ProcessName { get; set; } = string.Empty;

        /// <summary>
        /// 单据号
        /// </summary>
        public string InstanceNumber { get; set; } = string.Empty;

        /// <summary>
        /// 流程单号
        /// </summary>
        public string PROCINSTNO { get; set; }

        /// <summary>
        /// 流程标题
        /// </summary>
        public string TOPIC { get; set; }

        /// <summary>
        /// 单据发起人工号
        /// </summary>
        public string APPLYEMPNO { get; set; }

        /// <summary>
        /// 单据发起人姓名
        /// </summary>
        public string APPLYEMPNAME { get; set; }

        /// <summary>
        /// 单据发起时间
        /// </summary>
        public DateTime STARTDATE { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string STATUS { get; set; }

        ///// <summary>
        ///// 
        ///// </summary>
        //public Guid LOGID { get; set; }

        /// <summary>
        /// 移动端单据的审批页面RUL
        /// </summary>
        public string FORMURL { get; set; }

        /// <summary>
        /// PC端单据的审批页面RUL
        /// </summary>
        public string PCFORMURL { get; set; }

        /// <summary>
        /// 域账户
        /// </summary>
        public string ADUser { get; set; }
    }
}
